package com.qiche.model;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

public class Wallet {
    @Id
    private Integer id;

    /**
     * 商户id
     */
    @Column(name = "merchant_id")
    private Integer merchantId;

    /**
     * 钱包余额
     */
    @Column(name = "wallet_balance")
    private BigDecimal walletBalance;

    /**
     * 待审金额
     */
    @Column(name = "wait_audit_sum")
    private BigDecimal waitAuditSum;

    /**
     * 钱包密码
     */
    @Column(name = "wait_password")
    private String waitPassword;

    @Column(name = "update_time")
    private Date updateTime;

    @Column(name = "create_time")
    private Date createTime;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取商户id
     *
     * @return merchant_id - 商户id
     */
    public Integer getMerchantId() {
        return merchantId;
    }

    /**
     * 设置商户id
     *
     * @param merchantId 商户id
     */
    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    /**
     * 获取钱包余额
     *
     * @return wallet_balance - 钱包余额
     */
    public BigDecimal getWalletBalance() {
        return walletBalance;
    }

    /**
     * 设置钱包余额
     *
     * @param walletBalance 钱包余额
     */
    public void setWalletBalance(BigDecimal walletBalance) {
        this.walletBalance = walletBalance;
    }

    /**
     * 获取待审金额
     *
     * @return wait_audit_sum - 待审金额
     */
    public BigDecimal getWaitAuditSum() {
        return waitAuditSum;
    }

    /**
     * 设置待审金额
     *
     * @param waitAuditSum 待审金额
     */
    public void setWaitAuditSum(BigDecimal waitAuditSum) {
        this.waitAuditSum = waitAuditSum;
    }

    /**
     * 获取钱包密码
     *
     * @return wait_password - 钱包密码
     */
    public String getWaitPassword() {
        return waitPassword;
    }

    /**
     * 设置钱包密码
     *
     * @param waitPassword 钱包密码
     */
    public void setWaitPassword(String waitPassword) {
        this.waitPassword = waitPassword;
    }

    /**
     * @return update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}